<div class="list6" style="background-color:#eff8fd;"> 
    <table border="0" cellpadding="0" cellspacing="0" width="660" style="margin:10px; font-size:14px;" > 
      <volist name="list" id="vo">
      <tr> 
        <td width="17" height="27">&nbsp;</td> 
        <td width="129" rowspan="4" align="center" valign="middle">
          <a href="{:U('Team/Home/index')}">
            <img  src='{$vo.logo|default="__IMG__/default.gif"}' style="border:1px solid #00CCFF;" width="105" height="105" />
          </a>
        </td> 
        <td width="522">团队名称：<span><a href="{:U('Team/Home/index')}">{$vo.Name}</a></span></td> 
      </tr> 
      <tr> 
        <td height="27">&nbsp;</td> 
        <td>队长：<span><a href="###">{$vo.CaptainName}</a></span>所在院校：{$vo.SchoolName}</td> 
      </tr>
      <tr>
        <td height="27">&nbsp;</td> 
        <td>{$vo.Declaration}</td>
      </tr> 
       <tr>
                <td>&nbsp;</td>
                <td height="27"><a class="addfriend" style="background: url(__IMG__/page_new.gif) no-repeat; text-decoration: underline;padding-left: 16px;" val="{$vo.Id}" title="加为友情团队">
                加为友情团队</a></td>
        
              </tr>
    </volist>
    </table> 
  </div> 
  <script>
  $(".addfriend").click(function(){
      var val = $(this).attr("val");
      $.ajax({
        type: "POST",
        url: "__URL__/addFriendTeam",
        data: "id="+val,
        success: function(msg){
          alert(msg)
        }
      });

  });
</script>

